home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr05 / xnot12a.zip / KEYNAME.H < prev    next >
C/C++ Source or Header  |  1993-06-16  |  2KB  |  47 lines

  1. /* keyname function strings 
  2. */
  3. #ifdef KEYMAP_C
  4. # define globalvar(variable, value) variable = value
  5. #else
  6. # define globalvar(variable, value) extern variable
  7. #endif
  8.  
  9. /* various strings used in may places.
  10. */
  11. #ifdef MSW
  12.  globalvar(char *spawnfilename, "em$shl.log");
  13. #else
  14.  globalvar(char spawnfilename[NFILEN], {0});
  15. #endif
  16. globalvar(char *nosuchbuffer, "No such buffer.");
  17. globalvar(char *Nobytes, "Can't get %ld bytes.");
  18. globalvar(char *Scratch, "*scratch*");
  19. globalvar(char *DiredStr, "dired");
  20. globalvar(char *BlistStr, "blist");
  21. globalvar(char *Impossible, "Impossible change.");
  22. globalvar(char *Markset, "Mark set.");
  23. globalvar(char *posFormat, " %d,%d ");  /* spaces needed! */
  24. globalvar(char *garbage, "Garbage collecting...");
  25. globalvar(char *notinmacro, "Not inside macro definition.");
  26. globalvar(char *BUSY, "Busy!");
  27. globalvar(char *modeerr, "Could not find mode: %s");
  28.  
  29. /* mouse stuff - abbreviated extended commands and some msgs
  30. * (other msgs inside mouse.c)
  31. */
  32. globalvar(char *LeftDwn, "l");
  33. globalvar(char *LeftDwnShift, "sl");
  34. globalvar(char *RightDwn, "r");
  35. globalvar(char *DoubleClick, "dl");
  36. globalvar(char *MoveStr, "m");
  37. globalvar(char *LeftUp, "lu");
  38. globalvar(char *MouseAbort, "ma");
  39. globalvar(char *MouseTimer, "mt");
  40.  
  41. #if defined(X11) || defined(CURSES)  /* ie UNIX machines, sigh */
  42.   globalvar(char *mktempTemplate, ".notgnuXXXXXX");
  43.   globalvar(char *pastemsg, "Use Button 2 to paste text.");
  44. #else /* Windows 3.*, NT, DOS, ?? */
  45.   globalvar(char *pastemsg, "Use Right Button to paste text.");
  46. #endif
  47.